<div class="so_main">
  <div class="page_tit">编辑项目</div>
  <div class="form2">
  	<form method="post" id="update_project" action="<?php echo site_url()?>/project/update_project" enctype="multipart/form-data">
    <dl class="lineD">
      <dt>项目名称：</dt>
      <dd>
        <input name="name" id="name" type="text" value="<?php echo $project['name']?>">
        <span id="project_name">
	  			<?php if(isset($project_info) && !empty($project_info)):?>
					<?php foreach ($project_info as $pk=>$pv): ?>
						<a href="/index.php/project/update_project_info/<?php echo $pv['id']?>" class="a_mar_5"><?php echo $pv['name']?></a>
					<?php endforeach;?>
				<?php endif;?>	
	    </span>
        
      </dd>
    </dl>
     <dl class="lineD">
      <dt>是否启用：</dt>
      <dd>
       		<label><input name="status" type="radio" value="1" <?php echo $project['status'] == '1' ? 'checked="checked"': ''?>/> 开启</label> 
            <label><input name="status" type="radio" value="0" <?php echo $project['status'] == '0' ? 'checked="checked"': ''?>/> 关闭</label>
      </dd>
    </dl>
    <div class="page_btm">
     	<input type="hidden" name="project_id" id="project_id" value="<?php echo $project['id']?>" />
     	<input type="hidden" name="project_old_name" id="project_old_name"  value="<?php echo $project['name']?>" />
      <input type="submit" id="btn_sub" class="btn_b" value="确定" />
    </div>
  </form>
  </div>
</div>

<div id="div_count"  style="display:none"">

</div> 

